package www.icomwell.com.viperdemo.Modules.List.ApplicationLogic.Interactor;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import www.icomwell.com.viperdemo.Modules.List.UserInterface.Presenter.ListPresenter;
import www.icomwell.com.viperdemo.Modules.List.UserInterface.View.ListActivity;

import static org.junit.Assert.*;

/**
 * Created by leeesven on 17/5/24.
 */
public class ListInteractorTest {

	private ListInteractor listInteractor;
	private ListPresenter listPresenter;
	private ListActivity listActivity;

	@Before
	public void setUp() throws Exception {
		listActivity = new ListActivity();
		listPresenter = new ListPresenter(listActivity);
		listInteractor = new ListInteractor(listPresenter);
	}

	@After
	public void tearDown() throws Exception {
		listInteractor = null;
	}

	@Test
	public void findUpcomingItems() throws Exception {
		listInteractor.findUpcomingItems();
	}

}